package nl.ejvos.bgpgames.cbbchess.shared;

import com.hu.bgp.framework.clientapi.ServerToClientMessage;

/**
 * Er is geklikt op een tile door de tegenstander.
 * 
 * @author ejvos
 */
public class OpponentMovedMessage extends ServerToClientMessage
{
	private String opponentUuid;
	private char x;
	private int y;
	private char toX;
	private int toY;

	public OpponentMovedMessage()
	{
	}

	public OpponentMovedMessage(String opponentUuid, char x, int y, char toX, int toY)
	{
		super();
		this.opponentUuid = opponentUuid;
		this.x = x;
		this.y = y;
		this.toX = toX;
		this.toY = toY;
	}

	public String getOpponentUuid()
	{
		return opponentUuid;
	}

	public char getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public char getToX()
	{
		return toX;
	}

	public int getToY()
	{
		return toY;
	}
}
